package io.renren.modules.gengyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.gengyun.dao.GatherTimeDao;
import io.renren.modules.gengyun.entity.GatherTimeEntity;
import io.renren.modules.gengyun.service.GatherTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("gatherTimeService")
public class GatherTimeServiceImpl extends ServiceImpl<GatherTimeDao, GatherTimeEntity> implements GatherTimeService {

    @Autowired
    private GatherTimeDao gatherTimeDao;


    @Override
    public List<String> getTimesByIndicator(String indicator) {
        return gatherTimeDao.getTimesByIndicator(indicator);
    }

    @Override
    public List<String> getGatherTime(String submitTime) {
        return gatherTimeDao.getGatherTime(submitTime);
    }

}
